package src.dto;

import java.io.Serializable;

import java.util.Set;

public class MailBoxDTO implements Serializable {

	private static final long serialVersionUID = 1L;
	private Long id;
	private String name;
	private UserDTO user;
	private Set<IncomingMessageDTO> incomingMessages;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public UserDTO getUser() {
		return user;
	}

	public void setUser(UserDTO user) {
		this.user = user;
	}

	public Set<IncomingMessageDTO> getIncomingMessages() {
		return incomingMessages;
	}

	public void setIncomingMessages(Set<IncomingMessageDTO> incomingMessages) {
		this.incomingMessages = incomingMessages;
	}
}
